#pragma once

#include <QString>
#include <QFileInfo>

static inline QString getFileName(const QString& path)
{
    QFileInfo fileInfo(path);
    return fileInfo.fileName();
}

#define TAG QString("[%1:%2]").arg(getFileName(__FILE__),QString::number(__LINE__))
#define LOG() qDebug().noquote() << TAG

//#define test 0

//#define test_skipLoginWidget 1
